package com.imut.service;

import com.imut.entity.NovelCategory;
import java.util.List;

public interface CategoryService {
    boolean insertCategory(NovelCategory novelCategory);

    boolean updateCategory(NovelCategory novelCategory);

    boolean deleteCategory(Integer id);

    NovelCategory selectAllCategories(Integer id);

    List<NovelCategory> selectCategoryById();

    List<NovelCategory> selectCategoriesWithChildren(Integer parentId);
}
